<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link href="/style/common.css" rel="stylesheet" crossorigin="anonymous">
    <title></title>
</head>
<body>
<div th:include="top.html"></div>
<div th:include="left.html"></div>
<div class="page-content">
    <div class="content-nav">
        登录
    </div>
    <form th:action="@{/dologin}" method="post">
        <fieldset>
            <legend>登录信息</legend>
            <table class="formtable" style="width:50%">
                <tr>
                    <td>账号名:</td>
                    <td>
                        <input name="username" id="accountname" type="text"/>
                    </td>
                </tr>
                <tr>
                    <td>密码:</td>
                    <td>
                        <input name="password" id="new" type="password"/>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="command">
                        <input type="submit" value="登录"/>
                        <input type="button" value="返回"/>
                    </td>
                </tr>
            </table>
            <div style="color: red" th:text="${error}"></div>
        </fieldset>
    </form>
</div>


<div th:include="foot.html"></div>

</body>
</html>


